package com.ruoyi.creditlife.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * parking对象 parking
 * 
 * @author ddd
 * @date 2025-06-30
 */
public class Parking extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 停车场地址 */
    @Excel(name = "停车场地址")
    private String parkAddress;

    /** 单价（元/小时） */
    @Excel(name = "单价", readConverterExp = "元=/小时")
    private Long price;

    /** 停车场名字 */
    @Excel(name = "停车场名字")
    private String parkName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setParkAddress(String parkAddress) 
    {
        this.parkAddress = parkAddress;
    }

    public String getParkAddress() 
    {
        return parkAddress;
    }

    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }

    public void setParkName(String parkName) 
    {
        this.parkName = parkName;
    }

    public String getParkName() 
    {
        return parkName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parkAddress", getParkAddress())
            .append("price", getPrice())
            .append("parkName", getParkName())
            .toString();
    }
}
